/**
 * 具体命令角色（Concrete    Command）角色
 */
public class BuyOrder implements Order {
    private Stock abcStock;

    public BuyOrder(Stock abcStock){
        this.abcStock = abcStock;
    }

    @Override
    public void execute() {
        abcStock.buy();
    }
}
